package com.longshen.dubbo.api.mapper;

import java.util.List;

import com.longshen.dubbo.api.base.MyMapper;
import com.longshen.dubbo.api.model.AdminTrade;

public interface AdminTradeMapper extends MyMapper<AdminTrade> {

	/**
	 * 
	 * @Title: ownTrade   
	 * @Description: 查询角色拥有的交易权限  
	 * @param roleId
	 * @return      
	 * @return: List<AdminRoleTrade>      
	 * @throws
	 */
	public List<AdminTrade>  ownTrade(String roleId);
	
	/**
	 * 
	 * @Title: unOwnTrade   
	 * @Description: 查询角色没有的角色   
	 * @param roleId
	 * @return      
	 * @return: List<AdminRoleTrade>      
	 * @throws
	 */
	public List<AdminTrade>  unOwnTrade(String roleId);
}